package com.xc.freeapp.entity;

import java.util.Date;
import java.util.List;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

import org.springframework.format.annotation.DateTimeFormat;

import com.wordnik.swagger.annotations.ApiModelProperty;

public class Issue {
    private Integer id;
    @ApiModelProperty(value="关系人id")
    private Integer relationid;
    @ApiModelProperty(value="主治医师")
    private String seedoctor;
   
   
    @ApiModelProperty(value="医院名称")
    private String businessname;
    @NotNull(message="就诊日期不能为空")
    @ApiModelProperty(value="就诊日期")
    private Date seetime;
    
    
    @ApiModelProperty(value="科室名称")
    private String deptname;
    @ApiModelProperty(value="症状描述")
    private String issuedesc;
    @ApiModelProperty(value="诊断结果")
    private String diagnoseresult;
    @ApiModelProperty(value="治疗方案")
    private String cureschedule;
    @ApiModelProperty(value="就诊图片")
    private String pics;
    @ApiModelProperty(value="就诊图片")
    private List<String> piclist;
    
    private Integer createby;

    public List<String> getPiclist() {
		return piclist;
	}

	public void setPiclist(List<String> piclist) {
		this.piclist = piclist;
	}

	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createtime;

    private Integer updateby;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updatetime;

    private String delflag;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getRelationid() {
        return relationid;
    }

    public void setRelationid(Integer relationid) {
        this.relationid = relationid;
    }

    public String getSeedoctor() {
        return seedoctor;
    }

    public void setSeedoctor(String seedoctor) {
        this.seedoctor = seedoctor == null ? null : seedoctor.trim();
    }


    public String getBusinessname() {
        return businessname;
    }

    public void setBusinessname(String businessname) {
        this.businessname = businessname == null ? null : businessname.trim();
    }

    public String getIssuedesc() {
        return issuedesc;
    }

    public void setIssuedesc(String issuedesc) {
        this.issuedesc = issuedesc == null ? null : issuedesc.trim();
    }

    public String getDiagnoseresult() {
        return diagnoseresult;
    }

    public void setDiagnoseresult(String diagnoseresult) {
        this.diagnoseresult = diagnoseresult == null ? null : diagnoseresult.trim();
    }

    public String getCureschedule() {
        return cureschedule;
    }

    public void setCureschedule(String cureschedule) {
        this.cureschedule = cureschedule == null ? null : cureschedule.trim();
    }

    public String getPics() {
        return pics;
    }

    public void setPics(String pics) {
        this.pics = pics == null ? null : pics.trim();
    }

    public Integer getCreateby() {
        return createby;
    }

    public void setCreateby(Integer createby) {
        this.createby = createby;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Integer getUpdateby() {
        return updateby;
    }

    public void setUpdateby(Integer updateby) {
        this.updateby = updateby;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    public String getDelflag() {
        return delflag;
    }

    public void setDelflag(String delflag) {
        this.delflag = delflag == null ? null : delflag.trim();
    }

	public Date getSeetime() {
		return seetime;
	}

	public void setSeetime(Date seetime) {
		this.seetime = seetime;
	}

	public String getDeptname() {
		return deptname;
	}

	public void setDeptname(String deptname) {
		this.deptname = deptname;
	}
}